<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:useBean id="uploadFileForm" scope="session" class="mypack.form.UploadFileForm"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>统一登陆认证</title>
 <!-- 新 Bootstrap 核心 CSS 文件 -->
			<link rel="stylesheet" href="static/css/bootstrap.min.css">
            <!-- 可选的Bootstrap主题文件（一般不用引入） -->
			<link rel="stylesheet" href="static/css/bootstrap-theme.min.css">

            <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
			<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>

			<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
			<script src="static/js/bootstrap.min.js"></script>
            <link href="static/css/login.css" rel="stylesheet" type="text/css" />
            <link href="static/css/homepage.css" rel="stylesheet" type="text/css" />
</head>


<title>上传作业</title>
</head>

<% request.setCharacterEncoding("utf-8"); %>
<% uploadFileForm.setParameters(request, response); %>
<body style="background-image: url(../static/images/apppp.jpg);">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
            <div id = "banner">
                <ul class="nav nav-tabs" role="tablist">
                    <li role="presentation" class="active" style="color:#44484F;"><a href="http://localhost:8080/softwaretest/index.jsp">Homepage</a></li>
                    <li role="presentation" ><a href="#" style="color:#44484F;">Data flow</a></li>
                    <li role="presentation"><a href="#" style="color:#44484F;">Control flow</a></li>
                    <li role="presentation"><a href="#" style="color:#44484F;">Show in Finder</a></li>
					<li role="presentation"><a href="#" style="color:#44484F;">History</a></li>
                </ul>
            </div> 
            </nav>
            <div id = "input1" style="height:440px;width:400px;margin-left:430px">
<div id = 'inner1' style="height:320px;">
<br>
<br>
<h3>UploadFile</h3>
  Please choose your code file <br /><br />
<% String test = uploadFileForm.getHname();
 // out.println(test + "    这是测试结果:    " + test);%>
 <%int i = 0; %>
<form action="UploadFile.jsp?hname=<%=uploadFileForm.getHname()%>" method="post"
                        enctype="multipart/form-data">
<input  type="file" name="file" size="150" />
<input type="hidden" size="20" name="hname" value="作业一">
<br />
<input class="btn btn-primary btn-lg" role="button" type="submit" value="submit" />
 
</form>

</div>
</div>



<div id="leftContainer"> 
                    <p class = "copyright">Copyright © Sidan Yao. All rights reserved. </p>
					<p class = "copyrightE">     Email:1013748619@qq.com</p>
	   </div>
	   
</body>
</html>
	   